
package com.zjxd.business.web.model.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zjxd.business.web.model.pojo.TAUser;
import com.zjxd.business.web.model.pojo.TAUserExample;

public interface TAUserMapper {

	long countByExample(TAUserExample example);

	int deleteByExample(TAUserExample example);

	int deleteByPrimaryKey(String userId);

	int insert(TAUser record);

	int insertSelective(TAUser record);

	List<TAUser> selectByExample(TAUserExample example);

	TAUser selectByPrimaryKey(String userId);

	int updateByExampleSelective(@Param("record") TAUser record, @Param("example") TAUserExample example);

	int updateByExample(@Param("record") TAUser record, @Param("example") TAUserExample example);

	int updateByPrimaryKeySelective(TAUser record);

	int updateByPrimaryKey(TAUser record);

	// 登录验证
	TAUser getLoginUserByMap(String userName);
}